from faker import Faker


class FakeMember():

    def fake_member(self):

        fakerdata = Faker(locale='zh_CN')
        # 自动生成用户名
        name = fakerdata.name()
        # 自动生成电话号码
        phone = fakerdata.phone_number()

        return name,phone